Connection Scheduling in Web Servers

نویسندگان

  • Mark Crovella
  • Robert Frangioso
  • Mor Harchol-Balter
چکیده

Under high loads, a Web server may be servicing many hundreds of connections concurrently. In traditional Web servers, the question of the order in which concurrent connections are serviced has been left to the operating system. In this paper we ask whether servers might provide better service by using non-traditional service ordering. In particular, for the case when a Web server is serving static les, we examine the costs and bene ts of a policy that gives preferential service to short connections. We start by assessing the scheduling behavior of a commonly used server (Apache running on Linux) with respect to connection size and show that it does not appear to provide preferential service to short connections. We then examine the potential performance improvements of a policy that does favor short connections (shortest-connectionrst). We show that mean response time can be improved by factors of four or ve under shortest-connectionrst, as compared to an (Apache-like) size-independent policy. Finally we assess the costs of shortest-connectionrst scheduling in terms of unfairness (i.e., the degree to which long connections su er). We show that under shortest-connectionrst scheduling, long connections pay very little penalty. This surprising result can be understood as a consequence of heavytailed Web server workloads, in which most connections are small, but most server load is due to the few large connections. We support this explanation using analysis.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Connection Scheduling in Web Servers

Under high loads, a Web server may be servicing many hundreds of connections concurrently. In traditional web servers, the question of the order in which concurrent connections are serviced has been left to the operating system. In this report we examine the performance of a policy that gives preferential service to short connections. We start by finding out the typical service times for CPU, d...

متن کامل

Probabilistic Application-Level Connection Scheduling in Web Servers

thousands of requests. Many traditional Web servers let the operating system decide the connection scheduling—that is, the order in which requests are serviced—and, in fact, most simply do so on a first-come, first-served basis. In many cases, however, it can be extremely useful, if not downright necessary, to have application-level control over scheduling policies. Application-level connection...

متن کامل

Staged Design for Highly Concurrent Web Servers

In order to provide consistent and predictable response times under high load web servers with CPU-bound workloads must be able to control processor scheduling. Conventional servers such as Apache with thread-per-connection concurrency do not perform predictably at high loads because they rely on coarse-grained process scheduling mechanisms provided natively by the operating system. By designin...

متن کامل

Load Balancing Approaches for Web Servers: A Survey of Recent Trends

Numerous works has been done for load balancing of web servers in grid environment. Reason behinds popularity of grid environment is to allow accessing distributed resources which are located at remote locations. For effective utilization, load must be balanced among all resources. Importance of load balancing is discussed by distinguishing the system between without load balancing and with loa...

متن کامل

The Design and Performance of a Bare PC Web Server

There is an increasing need for new Web server architectures that are application-centric, simple, small, and pervasive in nature. In this paper, we present a novel architecture for a bare PC Web server that meets most of these requirements. A bare PC Web server runs on any Intel 386 (or above) based architecture with no operating system in the machine. The application object or program contain...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999